package com.neusoft.elm.dao;
 import java.util.List;
 import com.neusoft.elm.po.Food;
public interface FoodDao {
	 public List<Food> listFoodByBusinessId(Integer businessId) throws Exception;
	// 新增方法
	    public int saveFood(Food food) throws Exception;
	    public int updateFood(Food food) throws Exception;
	    public int removeFood(Integer foodId) throws Exception;
	    public Food getFoodById(Integer foodId) throws Exception;
	    public List<Food> listFoodForManage(Integer businessId, String searchKeyword, 
                String sortField, int page, int pageSize) 
                throws Exception;
                
public int countFoodByBusinessId(Integer businessId, String searchKeyword) 
                throws Exception;
}
